import request from '@/utils/request'

/**
 * 获取日期
 * @param {*} beginCreateTime
 * @param {*} endCreateTime
 * @returns
 */
export const getCustomApi = (beginCreateTime, endCreateTime) => {
  return request({
    url: `/report/contractStatistics/${beginCreateTime}/${endCreateTime}`
  })
}

/**
 * 客户统计列表
 * @param {*} params
 * @returns
 */
export const getCustomListApi = (params) => {
  return request({
    url: '/report/contractStatisticsList',
    params
  })
}

export const getCustomEchartsApi = (data) => {
  return request({
    url: '/report/subjectStatistics/2023-05-11/2023-05-12',
    data
  })
}
